<?php

class DiaryPopupScript extends ScriptBlock
{

	function __construct ()
	{
	$html =  "<script language = \"javascript\">\n";
	$html .= "function showDiaryPopup(eventID)\n";
	$html .= "{\n";
	$html .= "document.getElementById(eventID).style.display=\"block\";\n";
	$html .= "}\n";
	$html .= "function hideDiaryPopup(eventID)\n";
	$html .= "{\n";
	$html .= "document.getElementById(eventID).style.display=\"none\";\n";
	$html .= "}\n";
	$html .= "</script>\n";
	$this->scriptHTML = $html;
	}
}